<!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;>
<html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;>
<head>
<meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot; />
<title>无标题文档</title>
</head>

<body>
<h3>HTML 4.01 Frameset</h3>
<code class="prettyprint">
&lt;!-- BEGIN::HTML 4.01 Frameset --&gt;
&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.01 Frameset//EN&quot;
   &quot;http://www.w3.org/TR/html4/frameset.dtd&quot;&gt;
&lt;html&gt;
	&lt;head&gt;
		&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot; /&gt;
		&lt;title&gt;无标题文档 &lt;/title&gt;
	&lt;/head&gt;
	&lt;frameset rows=&quot;*,*&quot;&gt;
		&lt;frame src=&quot;UntitledFrame-1&quot; /&gt;
		&lt;frame src=&quot;UntitledFrame-2&quot; /&gt;
		&lt;noframes&gt;
			&lt;body&gt;
				&lt;p&gt;This page uses frames. The current browser you are using does not support frames. &lt;/p&gt;
			&lt;/body&gt;
		&lt;/noframes&gt;
	&lt;/frameset&gt;
&lt;/html&gt;
&lt;!-- END::HTML 4.01 Frameset --&gt;
</code>
<hr />
<h3>HTML 4.01 Strict</h3>
<code class="prettyprint">
&lt;!-- BEGIN::HTML 4.01 Strict --&gt;
&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.01//EN&quot;
   &quot;http://www.w3.org/TR/html4/strict.dtd&quot;&gt;
&lt;html&gt;
&lt;/html&gt;
&lt;!-- END::HTML 4.01 Strict --&gt;
</code>
<hr />
<h3>HTML 4.01 Transitional</h3>
<code class="prettyprint">
&lt;!-- BEGIN::HTML 4.01 Transitional --&gt;
&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;
   &quot;http://www.w3.org/TR/html4/loose.dtd&quot;&gt;
&lt;html&gt;
&lt;/html&gt;
&lt;!-- END::HTML 4.01 Transitional --&gt;
</code>
<hr />
<h3>HTML 5</h3>
<code class="prettyprint">
&lt;!-- BEGIN::HTML 5 --&gt;
&lt;!DOCTYPE HTML&gt;
&lt;html&gt;
&lt;/html&gt;
&lt;!-- END::HTML 5 --&gt;
</code>
<hr />
<h3>XHTML 1.0 Frameset</h3>
<code class="prettyprint">
&lt;!-- BEGIN::XHTML 1.0 Frameset --&gt;
&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Frameset//EN&quot;
   &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
	&lt;head&gt;
		&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot; /&gt;
		&lt;title&gt;无标题文档 &lt;/title&gt;
	&lt;/head&gt;
	&lt;frameset&gt;
		&lt;frame src=&quot;UntitledFrame-1&quot; /&gt;
		&lt;frame src=&quot;UntitledFrame-2&quot; /&gt;
		&lt;noframes&gt;
			&lt;body&gt;
				&lt;p&gt;This page uses frames. The current browser you are using does not support frames. &lt;/p&gt;
			&lt;/body&gt;
		&lt;/noframes&gt;
	&lt;/frameset&gt;
&lt;/html&gt;
&lt;!-- END::XHTML 1.0 Frameset --&gt;
</code>
<hr />
<h3>XHTML 1.0 Strict</h3>
<code class="prettyprint">
&lt;!-- BEGIN::XHTML 1.0 Strict --&gt;
&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot;
   &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
&lt;/html&gt;
&lt;!-- END::XHTML 1.0 Strict --&gt;
</code>
<hr />
<h3>XHTML 1.0 Transitional</h3>
<code class="prettyprint">
&lt;!-- BEGIN::XHTML 1.0 Transitional --&gt;
&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot;
   &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
&lt;/html&gt;
&lt;!-- END::XHTML 1.0 Transitional --&gt;
</code>
<p>7种类型</p>
</body>
</html>
